home *** CD-ROM | disk | FTP | other *** search
- /* On the 68K Mac, when using CFM (Code Fragment Manager),
- <math.h> requires special treatment -- we need to surround it with
- #pragma lib_export off / on...
- This is because MathLib.o is a static library, and exporting its
- symbols doesn't quite work...
- XXX Not sure now... Seems to be something else going on as well... */
-
- #ifdef SYMANTEC__CFM68K__
- #pragma lib_export off
- #endif
-
- #include <math.h>
-
- #ifdef SYMANTEC__CFM68K__
- #pragma lib_export on
- #endif
-
- #ifndef HAVE_HYPOT
- #include "myproto.h"
- extern double hypot Py_PROTO((double, double));
- #endif
-
-
- /* include proper Amiga SAS/C math include files: (I.J. 15 dec. 1996) */
- /* NOTE: YOU MUST REBUILD THE G.S.T. IF YOU CHANGE THE MATH OPTIONS! */
-
- #ifdef __SASC
- #if defined(_IEEE) && !defined(_M68881)
- #include <mieeedoub.h>
- #endif
- #ifdef _FFP
- #include <mffp.h>
- #endif
- #ifdef _M68881
- #include <m68881.h>
- #endif
- #endif
-